@CHARSET "UTF-8";
/* register.css */
body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f3f4f6;
    position: relative;
    margin: 0;
    overflow: hidden; /* 隐藏超出部分，防止背景图片溢出产生奇怪效果 */
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* 使用视口宽度单位，确保背景覆盖整个可视区域宽度 */
    height: 100vh; /* 使用视口高度单位，确保背景覆盖整个可视区域高度 */
    background-image: url('../image/小鸟游星野.jpg');
    background-size: cover; /* 保持纵横比，将背景图像缩放至完全覆盖背景区域 */
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.8;
    
}

.container {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 28rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(240, 240, 240, 0.6) 100%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-size: 0.875rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(107, 142, 235, 0.25);
}

.phone-number {
    cursor: pointer;
    margin: 0.3rem;
    display: inline-block;
    border: 1px solid #ccc;
    padding: 0.3rem 0.6rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.phone-number:hover {
    background-color: #e2e8f0;
}

.error-message {
    display: none;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
}

.submit-btn {
    background-color: #3b82f6;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
    width: 100%;
    border:none;
}

.submit-btn:hover {
    background-color: #2563eb;
}

.exit-btn {
    background-color: #dc3545;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    border:none;
}

.exit-btn:hover {
    background-color: #c82333;
}